Skip to content

CLI: Update Hypeman Go SDK to 6b281760d603033e2f78a87f5c24da8400b84585 - #68

Open
kernel-internal[bot] wants to merge 8 commits into
mainfrom
cli-coverage-update
Open

kernel-internal[bot] wants to merge 8 commits into
mainfrom
cli-coverage-update

Conversation

@kernel-internal

@kernel-internal kernel-internal Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

This PR updates the Hypeman Go SDK dependency to the latest version.

SDK Update

  • Updated hypeman-go to 6b281760d603033e2f78a87f5c24da8400b84585

Coverage Analysis

A full enumeration of SDK methods and CLI commands was performed. No coverage gaps were found.

Triggered by: kernel/hypeman-go@6b28176
Reviewer: @kernel-internal[bot]


Note

Low Risk
Dependency bump plus localized CLI parsing and display fixes; no auth or data-path changes.

Overview
Bumps hypeman-go (and the pinned docker module) so the CLI tracks the latest SDK, including a typed InstanceGPU.device_path.

hypeman logs --source now accepts swtpm (software TPM) alongside existing sources, with case-insensitive parsing and clear errors for invalid values; the SDK constant is wired via a local alias until generation catches up.

hypeman ps GPU column again shows vgpu on vendor VFIO hosts by treating device_path like mdev_uuid when no profile name is present.

Reviewed by Cursor Bugbot for commit 4232fd3. Bugbot is set up for automated code reviews on this repo. Configure here.

Bumps github.com/kernel/hypeman-go to
v0.28.1-0.20260902045311-0872a65a3733, which integrates vendor VFIO
vGPUs into the instance lifecycle.

The SDK now documents InstanceGPU.MdevUuid as populated on mdev hosts
only, and adds InstanceGPU.DevicePath for the sysfs path of an assigned
vGPU device. `hypeman ps` gated its GPU column on MdevUuid alone, so an
instance with a vendor VFIO vGPU and no profile name rendered as "-".
formatGPU now also checks DevicePath.

A full enumeration of api.md methods and CLI commands found no other
coverage gaps: every SDK method has a CLI command and every param field
has a corresponding flag.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kernel-internal kernel-internal Bot changed the title CLI: Update hypeman SDK to 0872a65a3733c6bfcc7449222cc4bd28bba43807 and add new commands/flags CLI: Update Hypeman Go SDK to 0872a65a3733c6bfcc7449222cc4bd28bba43807 Sep 2, 2026
Bumps github.com/kernel/hypeman-go to
v0.28.1-0.20260902143136-e6c2b7bc0171, which adds the "swtpm" value to
InstanceLogsParamsSource as part of the Windows hypervisor primitives.

Teaches `hypeman logs --source` about swtpm and validates the flag up
front instead of forwarding an arbitrary string to the API, matching the
parseInstanceWaitState / parseSnapshotTargetHypervisor pattern.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kernel-internal kernel-internal Bot changed the title CLI: Update Hypeman Go SDK to 0872a65a3733c6bfcc7449222cc4bd28bba43807 CLI: Update hypeman SDK to e6c2b7bc0171807b2c891a26e9ab4f4bb786072b and add new commands/flags Sep 2, 2026
kernel-internal Bot and others added 2 commits October 1, 2026 16:10
Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	go.sum
Bumps github.com/kernel/hypeman-go to
v0.28.1-0.20261001160305-134587a222ac, which carries the SDK's 2026-09-30
vulnerability remediation.

This commit is on main, whereas the branch previously pinned e6c2b7b from
the SDK's next branch. The Windows hypervisor primitives generated there
are therefore absent, dropping InstanceLogsParamsSourceSwtpm and
InstanceGPU.DevicePath. Both values are still specified by the API, so
rather than regress `hypeman logs --source swtpm` and the vendor VFIO
vGPU column in `hypeman ps`, read them without the generated bindings:
the log source is a string-backed enum, and device_path arrives in
JSON.ExtraFields. Both can go back to typed access once next lands on
main.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kernel-internal kernel-internal Bot changed the title CLI: Update hypeman SDK to e6c2b7bc0171807b2c891a26e9ab4f4bb786072b and add new commands/flags CLI: Update Hypeman Go SDK to 134587a222aca6307bb75dd0dbd78bf3f604c114 Oct 1, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 22e9c31. Configure here.

Comment thread go.mod
Co-authored-by: Cursor <cursoragent@cursor.com>
@kernel-internal kernel-internal Bot changed the title CLI: Update Hypeman Go SDK to 134587a222aca6307bb75dd0dbd78bf3f604c114 CLI: Update Hypeman Go SDK to da50c337d8e3c05c89a07e9b0b25636f1b50e526 Oct 7, 2026
kernel-internal Bot and others added 2 commits October 21, 2026 13:11
Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	go.sum
Bump github.com/kernel/hypeman-go to
v0.28.1-0.20261021130832-4623fef2ab5b.

A full enumeration of api.md methods against pkg/cmd found no missing
commands or flags. The SDK now types InstanceGPU.device_path, so drop
the JSON.ExtraFields fallback in formatGPU and read the field directly.
@kernel-internal kernel-internal Bot changed the title CLI: Update Hypeman Go SDK to da50c337d8e3c05c89a07e9b0b25636f1b50e526 CLI: Update Hypeman Go SDK to 4623fef2ab5bf55dcac4a54ecbd841cc82368558 Oct 21, 2026
Bumps github.com/kernel/hypeman-go to v0.28.1-0.20261021211416-6b281760d603.

A full enumeration of SDK methods (api.md) and CLI commands was performed;
all 63 SDK methods and their param fields are already covered by existing
commands and flags, so no new commands or flags were needed.
@kernel-internal kernel-internal Bot changed the title CLI: Update Hypeman Go SDK to 4623fef2ab5bf55dcac4a54ecbd841cc82368558 CLI: Update Hypeman Go SDK to 6b281760d603033e2f78a87f5c24da8400b84585 Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants